package com.luojiaoj.news

import com.luojiaoj.User

/**
 * Created with IntelliJ IDEA.
 * User: acer
 * Date: 13-1-31
 * Time: 上午3:48
 * To change this template use File | Settings | File Templates.
 */
class News {
    String title

    Date dateCreated

    Date lastUpdated

    String content

    User creator

    static constraints = {
        title size: 0..32
        content size: 0..65535
    }
}
